<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @keyframes heart{
            0%{
                left: 500px;
                top: 300px;
                opacity: 0.6;
                transform: scale(0.5,0.5);
            }
            50%{
                left: 500px;
                top: 100px;
                opacity: 1;
                transform: scale(1.0,1.0);
            }
            100%{
                left: 500px;
                top: 0px;
                opacity: 0.6;
                transform: scale(0.5,0.5);
            }
        }
        @keyframes yuan{
            0%{
                opacity: 0.1;
            }
            50%{
                opacity: 0.05;                  ;
            }
            100%{
                opacity: 0;
            }
        }
        *{
            margin: 0;
            padding: 0;
        }
        body{
            background-color: skyblue;
        }
        .wrap{
            position: absolute;
            margin: 0px auto;
            width: 400px;
            height: 400px;
            animation: heart 2s ease 0s infinite alternate;
        }
        .a{
            display: inline-block;
            left: 100px;
            top: 150px;
            width: 200px;
            height: 200px;
            transform: rotate(45deg);
            background-color: pink;
            position: relative;
        }
        .b{
            display: inline-block;
            width: 200px;
            height: 200px;
            background-color: pink;
            border-radius: 50%;
            position: absolute;
            transform: translate(-28px,78px);
        }
        .c{
            display: inline-block;
            width: 200px;
            height: 200px;
            background-color: pink;
            border-radius: 50%;
            position: absolute;
            transform: translate(-172px,78px);
        }
        .yuan{
            position: absolute;
            margin: 0 auto;
            width: 100px;
            height: 20px;
            border-radius: 50%;
            transform: translate(650px,600px);
            background-image: radial-gradient(closest-side at 50% 65%,#000,#000);
            box-shadow:
                0px 6.5px 9.9px rgba(0, 0, 0, 0.404),
                0px 21.7px 33.3px rgba(0, 0, 0, 0.596),
                0px 97px 149px rgba(0, 0, 0, 1)
                ;
            animation: yuan 2s ease 0s infinite alternate;
        }
    </style>
</head>
<body>
    <div class="wrap">
        <div class="a"></div>
        <div class="b"></div>
        <div class="c"></div>
    </div>
    <div class="yuan"></div>
</body>
</html>